﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace czj_shop.Models.Good
{
    public class AddCateRequest
    {
        /// <summary>
        /// 商品分类名称
        /// </summary>
        [StringLength(maximumLength: 30, MinimumLength = 1, ErrorMessage = "请输入1-30位商品分类")]
        [Required(ErrorMessage = "请输入商品分类名称")]
        public string Name { get; set; }
    }
}
